package com.ruoyi.campus.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;

/**
 * 巡查点位信息对象 biz_patrol_point
 * 
 * @author ruoyi
 * @date 2025-06-29
 */
public class PatrolPoint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 点位ID */
    private Long pointId;

    /**
     * 点位唯一编码
     *
     */
    @Excel(name = "唯一编码")
    private String pointUniqueCode;

    /** 点位编码 */
    @Excel(name = "点位编码")
    private String pointCode;

    /** 房间号 */
    @Excel(name = "房间号")
    private String roomNumber;

    /** 点位详细名称 */
    @Excel(name = "点位详细名称")
    private String detailName;

    /** 用途 */
    @Excel(name = "用途")
    private String purpose;

    /** 楼栋 */
    @Excel(name = "楼栋")
    private String building;

    /** 楼层 */
    @Excel(name = "楼层")
    private String floor;

    /** 所属部门ID */
    @Excel(name = "所属部门ID")
    private Long deptId;

    /** 绑定安全员ID */
    @Excel(name = "绑定安全员ID")
    private Long guardId;


    /** 二维码code */
    @Excel(name = "二维码code")
    private String qrCode;

    /** 二维码base64 */
    private String qrCodeBase64;

    /** 绑定时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "绑定时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date bindTime;


    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 安全员姓名 */
    @Excel(name = "安全员姓名")
    private String guardName;

    /** 安全员部门 */
    @Excel(name = "安全员部门")
    private String guardDept;

    /** 安全员手机号 */
    @Excel(name = "安全员手机号")
    private String guardPhone;

    public void setPointId(Long pointId)
    {
        this.pointId = pointId;
    }

    public Long getPointId()
    {
        return pointId;
    }

    public void setPointCode(String pointCode)
    {
        this.pointCode = pointCode;
    }

    public String getPointCode()
    {
        return pointCode;
    }

    public void setRoomNumber(String roomNumber)
    {
        this.roomNumber = roomNumber;
    }

    public String getRoomNumber()
    {
        return roomNumber;
    }

    public void setDetailName(String detailName)
    {
        this.detailName = detailName;
    }

    public String getDetailName()
    {
        return detailName;
    }

    public void setPurpose(String purpose)
    {
        this.purpose = purpose;
    }

    public String getPurpose()
    {
        return purpose;
    }

    public void setBuilding(String building)
    {
        this.building = building;
    }

    public String getBuilding()
    {
        return building;
    }

    public void setFloor(String floor)
    {
        this.floor = floor;
    }

    public String getFloor()
    {
        return floor;
    }

    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }

    public void setGuardId(Long guardId)
    {
        this.guardId = guardId;
    }

    public Long getGuardId()
    {
        return guardId;
    }

    public void setQrCode(String qrCode)
    {
        this.qrCode = qrCode;
    }

    public String getQrCode()
    {
        return qrCode;
    }

    public void setQrCodeBase64(String qrCodeBase64)
    {
        this.qrCodeBase64 = qrCodeBase64;
    }

    public String getQrCodeBase64()
    {
        return qrCodeBase64;
    }

    public void setBindTime(Date bindTime)
    {
        this.bindTime = bindTime;
    }

    public Date getBindTime()
    {
        return bindTime;
    }

    public void setDeptName(String deptName)
    {
        this.deptName = deptName;
    }

    public String getDeptName()
    {
        return deptName;
    }

    public void setGuardName(String guardName)
    {
        this.guardName = guardName;
    }

    public String getGuardName()
    {
        return guardName;
    }

    public void setGuardDept(String guardDept)
    {
        this.guardDept = guardDept;
    }

    public String getGuardDept()
    {
        return guardDept;
    }

    public void setGuardPhone(String guardPhone)
    {
        this.guardPhone = guardPhone;
    }

    public String getGuardPhone()
    {
        return guardPhone;
    }

    public String getPointUniqueCode() {
        return pointUniqueCode;
    }

    public void setPointUniqueCode(String pointUniqueCode) {
        this.pointUniqueCode = pointUniqueCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pointId", getPointId())
            .append("pointUniqueCode", getPointUniqueCode())
            .append("pointCode", getPointCode())
            .append("roomNumber", getRoomNumber())
            .append("detailName", getDetailName())
            .append("purpose", getPurpose())
            .append("building", getBuilding())
            .append("floor", getFloor())
            .append("deptId", getDeptId())
            .append("guardId", getGuardId())

            .append("qrCode", getQrCode())
            .append("qrCodeBase64", getQrCodeBase64())
            .append("bindTime", getBindTime())
            .append("deptName", getDeptName())
            .append("guardName", getGuardName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
